<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>填写注册信息页面</title>
</head>
<body>
<%out.println("------register------"); %>
	<form name = "fm_register">
		<table >
			<tr>
				<td>input you name:</td>
				<td>
					<input type = "text" name = "register_name" id = "register_name">
				</td>
			</tr>
			<tr>
				<td>input you password:</td>
				<td>
					<input type = "password" name = "register_password" id = "register_password">
				</td>
			</tr>
		</table>
		
	</form>
	<input type = "button" name = "button_register" value = "register" onClick = "register_check()">
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	<input type = "button" name = "return_homePage" value = "return_homePage" onClick = "return_homePage()">
</body>
</html>
<script>
	function register_check(){
		document.fm_register.method = "post";
		document.fm_register.action = "d2018.3.29_register_do.jsp";
		document.fm_register.submit();
		}
	function return_homePage(){
		document.fm_register.action = "d2018.3.29_homePage.jsp";
		document.fm_register.submit();
	}
	
</script>